﻿<script>   
    window.opener.parent.document.getElementById('idItem').value = '@ViewBag.ID_TABLA';   
    window.opener.parent.document.getElementById('btnItemById').click();
    this.close();
</script>